using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Ad
/// </summary>
public class Ad
{
    #region Fields
    decimal _adID;
    string _adText;
    string _adUrl;
    string _adImg;
    bool _disabled; 
    #endregion

    #region Properties
    public decimal AdID
    {
        get { return _adID; }
        set { _adID = value; }
    }

    public string AdText
    {
        get { return _adText; }
    }

    public string AdUrl
    {
        get { return _adUrl; }
    }

    public string AdImg
    {
        get { return _adImg; }
    }

    public bool Disabled
    {
        get { return _disabled; }
    } 
    #endregion

    public Ad() { }

    public Ad(decimal id, string adText, string adUrl, string adImg, bool disabled)
    {
        _adID = id;
        _adText = adText;
        _adUrl = adUrl;
        _adImg = adImg;
        _disabled = disabled;
    }
}
